package com.lmqb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.LogSms;
import com.lmqb.page.SmsLogPager;

public interface LogSmsMapper {
    int deleteByPrimaryKey(Integer logId);

    int insert(LogSms record);

    int insertSelective(LogSms record);

    LogSms selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(LogSms record);

    int updateByPrimaryKey(LogSms record);

	List<LogSms> selectAll(SmsLogPager pagerModel);

	int selectCount(SmsLogPager pagerModel);

	List<LogSms> selectByUserId(@Param(value="startPos") Integer startPos,
            @Param(value="pageSize") Integer pageSize,@Param("userId")Integer userId);
	
	Integer smsjlCount(Integer userId);
}